import request from '@/utils/request'

// 查询接口地址字段映射列表
export function listPlatUrlColumnConfig(query) {
  return request({
    url: '/bus/platUrlColumnConfig/list',
    method: 'get',
    params: query
  })
}

// 查询接口地址字段映射详细
export function getPlatUrlColumnConfig(id) {
  return request({
    url: '/bus/platUrlColumnConfig/' + id,
    method: 'get'
  })
}

// 新增接口地址字段映射
export function addPlatUrlColumnConfig(data) {
  return request({
    url: '/bus/platUrlColumnConfig',
    method: 'post',
    data: data
  })
}

// 修改接口地址字段映射
export function updatePlatUrlColumnConfig(data) {
  return request({
    url: '/bus/platUrlColumnConfig',
    method: 'put',
    data: data
  })
}

// 删除接口地址字段映射
export function delPlatUrlColumnConfig(id) {
  return request({
    url: '/bus/platUrlColumnConfig/' + id,
    method: 'delete'
  })
}
